package org.zerg.entity;

import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;


@SuppressWarnings("deprecation")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class Product {

	private int id;
	
	private String name;
	
	private Double price;
	
	private int stock;
	
	private int deleteTime;
	
	private int categoryId;
	
	private String category;
	
	private String theme;
	
	private String mainImgUrl;
	
	private int from;
	
	private int createTime;
	
	private int updateTime;
	
	private String summary;
	
	private int imgId;
	
	private List<ProductImage> imgs;
	
	private List<ProductProperty> properties;
	
	private List<ProductNote> note;

	public List<ProductNote> getNote() {
		return note;
	}

	public void setNote(List<ProductNote> note) {
		this.note = note;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public List<ProductImage> getImgs() {
		return imgs;
	}

	public void setImgs(List<ProductImage> imgs) {
		this.imgs = imgs;
	}

	public List<ProductProperty> getProperties() {
		return properties;
	}

	public void setProperties(List<ProductProperty> properties) {
		this.properties = properties;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
    
	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public int getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(int deleteTime) {
		this.deleteTime = deleteTime;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public int getFrom() {
		return from;
	}

	public void setFrom(int from) {
		this.from = from;
	}

	public int getCreateTime() {
		return createTime;
	}

	public void setCreateTime(int createTime) {
		this.createTime = createTime;
	}

	public int getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(int updateTime) {
		this.updateTime = updateTime;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public int getImgId() {
		return imgId;
	}

	public void setImgId(int imgId) {
		this.imgId = imgId;
	}

	public String getMainImgUrl() {
		return mainImgUrl;
	}

	public void setMainImgUrl(String mainImgUrl) {
		this.mainImgUrl = mainImgUrl;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	
}
